package com.test2.bean;

/**
 * 猎人
 *
 * @author Cc
 * 2024-03-12
 */
public class Hunter {
    public Hunter() {
    }

    public void hunt(Prey prey) {
        System.out.println("猎人正在打" + prey.name);
        prey.run();
    }
}
